load("//bazel:macros.bzl", "exports_files_legacy")
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")

licenses(["notice"])

exports_files_legacy()

go_library(
    name = "push_bazel_apps_from_wasm_image_lib",
    srcs = ["push_bazel_apps_from_wasm_image.go"],
    importpath = "go.skia.org/skia/infra/bots/task_drivers/push_bazel_apps_from_wasm_image",
    visibility = ["//visibility:private"],
    deps = [
        "@com_google_cloud_go_pubsub//:pubsub",
        "@org_golang_google_api//option",
        "@org_skia_go_infra//go/auth",
        "@org_skia_go_infra//go/common",
        "@org_skia_go_infra//go/docker/build/pubsub",
        "@org_skia_go_infra//go/exec",
        "@org_skia_go_infra//task_driver/go/lib/auth_steps",
        "@org_skia_go_infra//task_driver/go/lib/bazel",
        "@org_skia_go_infra//task_driver/go/lib/checkout",
        "@org_skia_go_infra//task_driver/go/lib/docker",
        "@org_skia_go_infra//task_driver/go/lib/golang",
        "@org_skia_go_infra//task_driver/go/lib/os_steps",
        "@org_skia_go_infra//task_driver/go/td",
        "@org_skia_go_infra//task_scheduler/go/types",
    ],
)

go_binary(
    name = "push_bazel_apps_from_wasm_image",
    embed = [":push_bazel_apps_from_wasm_image_lib"],
    visibility = ["//visibility:public"],
)
